<?php /** @noinspection PhpMissingReturnTypeInspection */
/** @noinspection PhpUndefinedClassInspection */

declare(strict_types=1);

namespace DreamCat\Array2Class\Demo;

use Dreamcat\PropertyAnalysis\Annotation\ArrayDescAnno;
use Dreamcat\PropertyAnalysis\Pojo\BuildinType;

/**
 * 测试类
 * @author vijay
 */
class DemoFunc
{
    use SimpleBuilder;

    private mixed $value;

    public function f(
        string $str,
        #[ArrayDescAnno(SinglePojo::class)]
        array|int|nn $union,
        array $unionArray,
        DemoFunc $singlePojo,
        #[ArrayDescAnno(BuildinType::INT, false)]
        array $intAry,
        #[ArrayDescAnno("noClass")]
        array $errorAry
    ) {

    }
}

# end of file
